package com.yang.zngcxyxkjs.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice {

    private Integer id;
    private Integer noticeId;
    private String noticeTittle;
    private String noticeAuthor;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date noticeTime;
    private String noticeDetail;
    private String noticePic;

}
